--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
sbapp/kivymd/__init__.py b4f0ff722e954d1edc2d4d433f4bd95d362bcc3a (b4f0ff72) Text, 2.46 KB
T8b949e"""
KivyMD
======
.. image:: https://github.com/HeaTTheatR/KivyMD-data/raw/master/gallery/previous.png
Is a collection of Material Design compliant widgets for use with,
`Kivy cross-platform graphical framework <http://kivy.org/#home>`_
a framework for cross-platform, touch-enabled graphical applications.
The project's goal is to approximate Google's `Material Design spec
https://material.io/design/introduction>`_ as close as possible without
sacrificing ease of use or application performance.
This library is a fork of the `KivyMD project
https://gitlab.com/kivymd/KivyMD>`_ the author of which stopped supporting
this project three years ago. We found the strength and brought this project
to a new level. Currently we're in **beta** status, so things are changing
all the time and we cannot promise any kind of API stability.
However it is safe to vendor now and make use of what's currently available.
Join the project! Just fork the project, branch out and submit a pull request
when your patch is ready. If any changes are necessary, we'll guide you
through the steps that need to be done via PR comments or access to your for
may be requested to outright submit them. If you wish to become a project
developer (permission to create branches on the project without forking for
easier collaboration), have at least one PR approved and ask for it.
If you contribute regularly to the project the role may be offered to you
without asking too.
"""
Tff7b72import T7ee787os
Tff7b72import T7ee787kivy
Tff7b72from T7ee787kivyT7ee787.T7ee787logger Tff7b72import Te6edf3Logger
Te6edf3__version__ Tff7b72= Ta5d6ff"Ta5d6ff1.0.0.dev0Ta5d6ff"
T8b949e"""KivyMD version."""
Te6edf3release Tff7b72= Tff7b72False
Te6edf3kivyTff7b72.Td2a8ffrequireTb4b4b4(Ta5d6ff"Ta5d6ff2.0.0Ta5d6ff"Tb4b4b4)
Tff7b72tryTb4b4b4:
Tff7b72from T7ee787kivymdT7ee787.T7ee787_version Tff7b72import Te6edf3__date__Tb4b4b4, Tff7b72__hash__Tb4b4b4, Te6edf3__short_hash__
Tff7b72except Tf85149ImportErrorTb4b4b4:
Tff7b72__hash__ Tff7b72= Te6edf3__short_hash__ Tff7b72= Te6edf3__date__ Tff7b72= Ta5d6ff"Ta5d6ff"
Te6edf3path Tff7b72= Te6edf3osTff7b72.Td2a8ffpathTff7b72.Td2a8ffdirnameTb4b4b4(Tff7b72__file__Tb4b4b4)
T8b949e"""Path to KivyMD package directory."""
Te6edf3fonts_path Tff7b72= Te6edf3osTff7b72.Td2a8ffpathTff7b72.Td2a8ffjoinTb4b4b4(Te6edf3pathTb4b4b4, Ta5d6fffTa5d6ff"Ta5d6fffontsTffd700{Te6edf3osTff7b72.Td2a8ffsepTffd700}Ta5d6ff"Tb4b4b4)
T8b949e"""Path to fonts directory."""
Te6edf3images_path Tff7b72= Te6edf3osTff7b72.Td2a8ffpathTff7b72.Td2a8ffjoinTb4b4b4(Te6edf3pathTb4b4b4, Ta5d6fffTa5d6ff"Ta5d6ffimagesTffd700{Te6edf3osTff7b72.Td2a8ffsepTffd700}Ta5d6ff"Tb4b4b4)
T8b949e"""Path to images directory."""
Te6edf3uix_path Tff7b72= Te6edf3osTff7b72.Td2a8ffpathTff7b72.Td2a8ffjoinTb4b4b4(Te6edf3pathTb4b4b4, Ta5d6ff"Ta5d6ffuixTa5d6ff"Tb4b4b4)
T8b949e"""Path to uix directory."""
Te6edf3_log_message Tff7b72= Tb4b4b4(
Ta5d6ff"Ta5d6ffKivyMD:Ta5d6ff"
Tff7b72+ Tb4b4b4(Ta5d6ff"Ta5d6ff ReleaseTa5d6ff" Tff7b72if Te6edf3release Tff7b72else Ta5d6ff"Ta5d6ff"Tb4b4b4)
Tff7b72+ Ta5d6fffTa5d6ff"Ta5d6ff Tffd700{Te6edf3__version__Tffd700}Ta5d6ff"
Tff7b72+ Tb4b4b4(Ta5d6fffTa5d6ff"Ta5d6ff, git-Tffd700{Te6edf3__short_hash__Tffd700}Ta5d6ff" Tff7b72if Te6edf3__short_hash__ Tff7b72else Ta5d6ff"Ta5d6ff"Tb4b4b4)
Tff7b72+ Tb4b4b4(Ta5d6fffTa5d6ff"Ta5d6ff, Tffd700{Te6edf3__date__Tffd700}Ta5d6ff" Tff7b72if Te6edf3__date__ Tff7b72else Ta5d6ff"Ta5d6ff"Tb4b4b4)
Tff7b72+ Ta5d6fffTa5d6ff'Ta5d6ff (installed at Ta5d6ff"Tffd700{Tff7b72__file__Tffd700}Ta5d6ff"Ta5d6ff)Ta5d6ff'
Tb4b4b4)
Te6edf3LoggerTff7b72.Td2a8ffinfoTb4b4b4(Te6edf3_log_messageTb4b4b4)
Tff7b72import T7ee787kivymdT7ee787.T7ee787factory_registers T8b949e# NOQA
Tff7b72import T7ee787kivymdT7ee787.T7ee787font_definitions T8b949e# NOQA
Tff7b72from T7ee787kivymdT7ee787.T7ee787toolsT7ee787.T7ee787packagingT7ee787.T7ee787pyinstaller Tff7b72import Te6edf3hooks_path T8b949e# NOQA
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────